using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    class MRPMenus 
    {
        int menuid;
        string menuname;
        int parentmenuid;
        ISet mrpusermenuList;

        public MRPMenus()
        {

        }

        public virtual int Menuid
        {
            get { return menuid; }
            set { menuid= value; }
        }

        public virtual string Menuname
        {
            get { return menuname; }
            set { menuname= value; }
        }

        public virtual int Parentmenuid
        {
            get { return parentmenuid; }
            set { parentmenuid= value; }
        }

        public virtual ISet MrpusermenuList
        {
            get { return mrpusermenuList; }
            set { mrpusermenuList= value; }
        }

        public override string ToString()
        {
            String s = "";
            if(menuid!=null)
	            s+= "menuid : "+ menuid.ToString()+"\n";
            else
	            s+= "menuid : null\n";
            if(menuname!=null)
	            s+= "menuname : "+ menuname.ToString()+"\n";
            else
	            s+= "menuname : null\n";
            if(parentmenuid!=null)
	            s+= "parentmenuid : "+ parentmenuid.ToString()+"\n";
            else
	            s+= "parentmenuid : null\n";
            return s;
        }
   }
}
